﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;


public class DataBaseHelper : IDataHelper
{
    public virtual void GetConnectString(string ip, string port, string name, string psw, string dataTable)
    {
        throw new NotImplementedException();
    }

    public virtual bool ExecuteFiles(string fileName, string sql)
    {
        throw new NotImplementedException();
    }

    public virtual void ExecuteSql(string sql)
    {
        throw new NotImplementedException();
    }

    public virtual DataSet GetDataSet(string sql)
    {
        throw new NotImplementedException();
    }

    public virtual DataTable GetDataTable(string sql)
    {
        throw new NotImplementedException();
    }

    public virtual void OpenConnection()
    {
        throw new NotImplementedException();
    }

    public virtual void CloseConnection()
    {
        throw new NotImplementedException();
    }

    /// <summary>
    /// 初始化Oracle数据库连接
    /// </summary>
    /// <param name="ip"></param>
    /// <param name="port"></param>
    /// <param name="name"></param>
    /// <param name="psw"></param>
    /// <param name="dataTable"></param>
    public void Init(string ip, string port, string name, string psw, string dataTable)
    {
        GetConnectString(ip, port, name, psw, dataTable);
    }

    /// <summary>
    /// 数据库连接字符串
    /// </summary>
    public string Connecting { get; set; }


}

